package cn.dcw.pethome.org.service;

import cn.dcw.pethome.basic.util.PageList;
import cn.dcw.pethome.org.domain.Employee;
import cn.dcw.pethome.org.dto.EmployeeDto;
import cn.dcw.pethome.org.query.EmployeeQuery;

import java.util.List;

/*
部门管理
 */
public interface IEmployeeService {
    //增加
    void add(Employee employee);

    //删除
    void delete(Long id);

    //修改
    void update(Employee employee);

    //查询所有
    List<Employee> findAll();

    //分页查询
    PageList<EmployeeDto> pageData(EmployeeQuery query);

    //批量删除
    void batchDel(Long[] ids);



}
